from flask import Blueprint, render_template, request

from applications.common.curd import model_to_dicts, enable_status, disable_status
from applications.common.helper import ModelFilter
from applications.common.utils.http import table_api, fail_api, success_api
from applications.common.utils.rights import authorize
from applications.common.utils.validate import xss_escape

from applications.models import PoliceModels
from applications.schemas import PoliceOutSchema

psych_bp = Blueprint('psych', __name__, url_prefix='/admin/psych')

# 情景化虚拟互动
@psych_bp.get('/')
def psych_main():
    return render_template('admin/psych/mode.html')

@psych_bp.get('/comb')
def psych_comb():
    return render_template('admin/psych/comb.html')
